import java.io.File;
import org.codehaus.groovy.grails.io.support.ClassPathResource

import de.mobizcorp.DWRESTServer.services.DemandwareImporterService;
import dw.catalog.Catalog
import dw.catalog.Product


class BootStrap {
	
    def init = { servletContext ->
		new Product(dwID: "UG00016", name: "Plüschtier").save(flush: true, failOnError: true)
		new Catalog(ID: "mens", displayName: "Mens").save(flush: true, failOnError: true)
    }
	
    def destroy = {
    }
}
